package personal.hrsw.mybatisplusdemo.service;

import personal.hrsw.mybatisplusdemo.domain.Student;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【student】的数据库操作Service
* @createDate 2025-04-24 09:27:24
*/
public interface StudentService extends IService<Student> {
    List<Student> findAll();
    int remove(int id);

    int add(Student student);


    Student findById(int id);

    int edit(Student student);

    //分页查询
    List<Student> findByPage(int pageNo, int pageSize);

    boolean login(String username, String password);
}
